Accessing via the backend log

In the Global menu, go to AdvancedShow backend log. This will display the current backend log (i.e. today's), with the historical information available only on disk (see below).

Interaction since v0.104.0:

Location on the disk

Backend logs are stored on the file system. To find them, open the  Data directory, go to the log subdirectory and find the latest log file, e.g. trilium-2022-12-14.log

Reporting backend bugs

You can attach the whole file to the bug report (preferable) or open it and copy-paste only the last lines / lines you believe are relevant.

Customizing the retention of logs

The backend logs are fully managed by the Trilium server. By default the last 90 days worth of logs are kept; the logs older than that are deleted in order to reduce the space consumption.

It's possible to change the retention period by modifying the  Configuration (config.ini or environment variables) via the .inifile:

[Logging]
retentionDays=7

Or via the environment variable TRILIUM_LOGGING_RETENTION_DAYS.

Special cases: